package com.ruoyi.email.service;

import java.util.List;

import com.ruoyi.email.domain.SysEmailMessage;

/**
 * 邮件消息Service接口
 * 
 * @author ruoyi
 * @date 2022-04-11
 */
public interface ISysEmailMessageService 
{
    /**
     * 查询邮件消息
     * 
     * @param id 邮件消息主键
     * @return 邮件消息
     */
    public SysEmailMessage selectSysEmailMessageById(Long id);

    /**
     * 查询邮件消息列表
     * 
     * @param sysEmailMessage 邮件消息
     * @return 邮件消息集合
     */
    public List<SysEmailMessage> selectSysEmailMessageList(SysEmailMessage sysEmailMessage);

    /**
     * 新增邮件消息
     * 
     * @param sysEmailMessage 邮件消息
     * @return 结果
     */
    public int insertSysEmailMessage(SysEmailMessage sysEmailMessage);

    /**
     * 修改邮件消息
     * 
     * @param sysEmailMessage 邮件消息
     * @return 结果
     */
    public int updateSysEmailMessage(SysEmailMessage sysEmailMessage);

    /**
     * 批量删除邮件消息
     * 
     * @param ids 需要删除的邮件消息主键集合
     * @return 结果
     */
    public int deleteSysEmailMessageByIds(Long[] ids);

    /**
     * 删除邮件消息信息
     * 
     * @param id 邮件消息主键
     * @return 结果
     */
    public int deleteSysEmailMessageById(Long id);
}
